package Sort;

/**
 * Created by sunwei on 2017/9/28
 * Time:16:06
 */
public class DataSortApp {
    public static void main(String[] args) {
        int maxSize=100;
        DataSort dataSort = new DataSort(maxSize);
        dataSort.addData(88);
        dataSort.addData(44);
        dataSort.addData(22);
        dataSort.addData(77);
        dataSort.addData(11);
        dataSort.addData(55);
        dataSort.addData(33);
        dataSort.addData(00);
        dataSort.addData(66);
        dataSort.addData(99);
        System.out.println("排序前数据为：");
        dataSort.deployData();
//        System.out.println("冒泡排序后:");
//        dataSort.BubbleSort();
//        dataSort.deployData();
//        System.out.println("插入排序后：");
//        dataSort.InsertionSort();
//        dataSort.deployData();
        System.out.println("选择排序后：");
        dataSort.selectionSort();
        dataSort.deployData();
    }

}
